package org.dromara.run.domain.vo;

import java.math.BigDecimal;

import org.dromara.basic.domain.vo.MemberVo;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.run.domain.Score;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 阳光跑成绩表视图对象 phy_run_score
 *
 * @author chl
 * @date 2024-08-30
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Score.class)
public class ScoreVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */

    private Long scoreId;

    @ExcelProperty(value = "序号")
    private Integer index;

    @Translation(type = TransConstant.SCHEDULE_ID_TO_NAME, mapper = "scheduleId")
    @ExcelProperty(value = "跑步计划")
    private String scheduleName;

    @Translation(type = TransConstant.MEMBER_ID_TO_NAME, mapper = "memberId")
    @ExcelProperty(value = "姓名")
    private String studentName;
    /**
     * 用户id
     */
    @ExcelProperty(value = "学号")
    private String memberId;



    private MemberVo memberInfo;

    /**
     * 计划id
     */
    private String scheduleId;


    @ExcelProperty(value = "年级")
    private String years;

    @ExcelProperty(value = "学院")
    private String collegeName;

    @ExcelProperty(value = "专业")
    private String professionalName;

    @ExcelProperty(value = "班级")
    private String className;


    private String classId;
    private String deptId;

    @ExcelProperty(value = "性别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_user_sex")
    private String gender;

    private String professionalId;
    private String collegeId;

    /**
     * 跑步总次数
     */
    @ExcelProperty(value = "跑步总次数")
    private Long totalRuns;

    /**
     * 跑步总里程
     */
    @ExcelProperty(value = "跑步总里程(公里)")
    private BigDecimal totalMileage;

    /**
     * 有效跑步次数
     */
    @ExcelProperty(value = "有效跑步次数")
    private Long validRuns;

    /**
     * 有效跑步里程
     */
    @ExcelProperty(value = "有效跑步里程(公里)")
    private BigDecimal validMileage;

    /**
     * 晨跑次数
     */
    @ExcelProperty(value = "晨跑次数")
    private Long morningRuns;

    /**
     * 晨跑里程
     */
    @ExcelProperty(value = "晨跑里程(公里)")
    private BigDecimal morningMileage;

    /**
     * 跑步成绩分数
     */
    @ExcelProperty(value = "跑步成绩分数")
    private BigDecimal score;

    /**
     * 修改后分数
     */
    @ExcelProperty(value = "修改后分数")
    private BigDecimal modifyScore;

    private String tenantId;
}
